package com.firstspring.test.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties("superman")
public class BaseInfos {
    public void setBaseInfos(List<BaseInfo> baseInfos) {
        this.baseInfos = baseInfos;
    }

    public List<BaseInfo> getBaseInfos() {
        return baseInfos;
    }

    private List<BaseInfo> baseInfos;
}


